package com.hzqx.syndata.falsedemo.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzqx.syndata.falsedemo.domain.SysConfig;
import com.hzqx.syndata.falsedemo.mapper.SysConfigMapper;
import com.hzqx.syndata.falsedemo.service.SysConfigService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ZY
 * @since 2020-11-05
 */
@Service
@DS("slave")
public class SysConfigServiceImpl extends ServiceImpl<SysConfigMapper, SysConfig> implements SysConfigService {
    @Autowired
    private SysConfigMapper sysConfigMapper;

    @Override
    public String getNum(){
        return sysConfigMapper.getNum();
    }
}
